home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presentation Library 1993 Winter
/
The Apple Reference & Presentations Library CD Winter 93 - Partner Edition.7z
/
Image.iso
/
Applications
/
Technical Publishing
/
Aldus PageMaker 4.2
/
Aldus
/
PP1.5.1.RSRC
/
PP1.5.1.RSRC.adf
/
STR#_306.txt
< prev
next >
Wrap
Text File
|
1991-12-09
|
2KB
|
77 lines
/S_CMYKIMAGE {/bits exch def/h exch def/w exch def/AsBin exch def scale
/imbuf w bits mul 7 add 8 idiv string def w h bits[w 0 0 h neg 0 h]
{currentfile imbuf AsBin{readstring}{readhexstring}ifelse pop}image}def
currentfile kbuf AsBin{readstring}{readhexstring}ifelse pop invbuf}
image}ifelse}def
{{currentfile cbuf AsBin{readstring}{readhexstring}ifelse pop pop
currentfile mbuf AsBin{readstring}{readhexstring}ifelse pop pop
currentfile ybuf AsBin{readstring}{readhexstring}ifelse pop pop
{currentfile mbuf AsBin{readstring}{readhexstring}ifelse pop}
{currentfile ybuf AsBin{readstring}{readhexstring}ifelse pop}
{currentfile kbuf AsBin{readstring}{readhexstring}ifelse pop}
true 4 colorimage}
/invbuf{0 1 2 index length 1 sub{dup 2 index exch get 255 exch sub 2 index 3 1 roll put}for}bind def
w h bits[w 0 0 h neg 0 h]/colorimage where{pop
{currentfile cbuf AsBin{readstring}{readhexstring}ifelse pop}
/S_CMYKIMAGE {/bits exch def/h exch def/w exch def/AsBin exch def scale
/cbuf w bits mul 7 add 8 idiv string def/mbuf cbuf length string def
/ybuf cbuf length string def/kbuf cbuf length string def
/imbuf w bits mul 4 mul 7 add 8 idiv string def
w h bits [w 0 0 h neg 0 h]{currentfile imbuf AsBin {readstring}
{readhexstring}ifelse pop}false 4 systemdict /colorimage get exec} def
/S_CMYKIMAGE {/bits exch def/h exch def/w exch def/AsBin exch def
/imbuf w bits mul 3 mul 7 add 8 idiv string def
w h bits [w 0 0 h neg 0 h]
{currentfile imbuf AsBin{readstring}{readhexstring}ifelse pop}
false 3 systemdict/colorimage get exec}def
/S_RGBIMAGE{
/bits exch def /h exch def/w exch def/AsBin exch def
w h bits [w 0 0 h neg 0 h]
{currentfile imbuf AsBin{readstring}{readhexstring}ifelse pop}
systemdict/image get exec}def
/imbuf w bits mul 7 add 8 idiv string def
/S_IMAGEV3 {
/bits exch def/h exch def/w exch def/AsBin exch def
/imbuf w 7 add 8 idiv string def w h inv
[w 0 0 h neg 0 h]{currentfile imbuf AsBin{readstring}{readhexstring}ifelse pop}
systemdict/imagemask get exec}def
/inv exch def/h exch def/w exch def/AsBin exch def
/S_IMAGEMASKV3 {systemdict/setgray get exec
/S_IMAGEMASKV3 {setcmykcolor